package com.alinesno.cloud.base.logger.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import com.alinesno.cloud.base.logger.entity.LogHostinfoEntity;
import com.alinesno.cloud.base.logger.service.ILogHostinfoService;
import com.alinesno.cloud.common.core.service.impl.IBaseServiceImpl;

/**
 * <p> IP和项目名的对应关系 服务实现类 </p>
 *
 * @author WeiXiaoJin
 * @since 2020-01-26 09:30:11
 */
@Service
public class LogHostinfoServiceImpl extends IBaseServiceImpl<LogHostinfoEntity, String> implements ILogHostinfoService {

	//日志记录
	@SuppressWarnings("unused")
	private static final Logger log = LoggerFactory.getLogger(LogHostinfoServiceImpl.class);

	@Override
	public long count() {
		int i = 1/0 ; 
		System.out.println("i = " + i) ;
		return super.count();
	}

}
